<script setup>
</script>

<template>
  <el-container class="layout-container">
    <el-header>
      <nav>
        <el-menu mode="horizontal" router>
          <el-menu-item index="/">今天吃什么</el-menu-item>
          <el-menu-item index="/manage">食物管理</el-menu-item>
        </el-menu>
      </nav>
    </el-header>

    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</template>

<style scoped>
.layout-container {
  min-height: 100vh;
}
</style>